#/*******************************************************************************
#* Author: "Edio Hanoway Kepke - Aquiris Game Studio
#******************************************************************************/
#This code is for debugging and unit testing

import modulegetjson
if __name__ == '__main__':
    params = {
                'name': 'Teste',
                'url': 'http://192.168.0.238/json_input.json',
                'node_values' : "values"
             }
    dc = modulegetjson.metric_init(params)
    for d in dc:
            v = d['call_back'](d['name'])
            print 'value for %s is %u' % (d['name'],  v)